package com.supercube.sport.yoga.dao;

import com.supercube.sport.yoga.domain.SiteInfoDTO;
import com.supercube.sport.yoga.vo.SiteInfoVO;

import java.util.List;

public interface SiteInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(SiteInfoDTO record);

    int insertSelective(SiteInfoDTO record);

    SiteInfoVO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SiteInfoDTO record);

    int updateByPrimaryKey(SiteInfoDTO record);

    /**
     * 根据场馆id查询场地信息列表
     *
     * @param venueId
     * @return
     */
    List<SiteInfoVO> selectSiteInfoByVenueId(String venueId,String usePurpose);
}